<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>客房预订</title>
<!-- import the static resource -->
<script type="text/javascript" th:src="@{/bootstrap3/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/jquery.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/npm.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/popper.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/popper.min.js}"></script>
<script type="text/javascript" th:src="@{/js/roombook.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap-popover.js}"></script>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap-theme.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap-theme.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap.min.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/css/index.css}" />
</head>
<body>
<div class="container-fluid">
	<div class="panel" style="height: 450px;overflow: auto;">
		<table class="table table-responsive">
			<thead>
				<tr>
					<th>创建时间</th>
					<th>订单号</th>
					<th>联系人</th>
					<th>联系电话</th>
					<th>电子邮件</th>
					<th>更多操作</th>
				</tr>
			</thead>
			<tbody th:each="sub,substa:${sublist}">
				<tr>
					<td th:text="${sub.cretimeString}"></td>
					<td th:text="${sub.no}"></td>
					<td th:text="${sub.linkman}"></td>
					<td th:text="${sub.phone}"></td>
					<td th:text="${sub.email}"></td>
					<td>
						<a href="javascript:void(0)" th:onclick="deletesub([[${sub.no}]],[[${sub.id}]])" class="glyphicon glyphicon-trash" style="color: red;"></a>
						&nbsp;|&nbsp;
						<a href="javascript:void(0)" th:onclick="gocontact1([[${sub.no}]])" class="glyphicon glyphicon-user" style="color: blue;"></a>
						&nbsp;|&nbsp;
						<a href="javascript:void(0)" th:onclick="gocrs([[${sub.id}]])" class="glyphicon glyphicon-home" style="color: orange;"></a>
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="6" class="text-right">
						<a class="btn btn-info btn-sm" href="javascript:void(0)" onclick="gocontact2()">新增订单</a>
					</td>
				</tr>
			</tfoot>
		</table>
	</div>
</div>
</body>
</html>
